]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st-theme-node: invalidate cached size when initializing paint state
authorLionel Landwerlin <llandwerlin@gmail.com>
Thu, 11 Jul 2013 12:28:06 +0000 (13:28 +0100)
committerLionel Landwerlin <llandwerlin@gmail.com>
Sat, 13 Jul 2013 07:31:18 +0000 (08:31 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=703997

src/st/st-theme-node-drawing.c

index 9e052a59c7e82243d8997640c7a5ef68a8da50dd..74751dc1d586108fefe8891f8d1b0f9a3ee5df3d 100644 (file)
@@ -2578,6 +2578,8 @@ st_theme_node_paint_state_init (StThemeNodePaintState *state)
 {
   int corner_id;
 
+  state->alloc_width = 0;
+  state->alloc_height = 0;
   state->node = NULL;
   state->box_shadow_material = COGL_INVALID_HANDLE;
   state->prerendered_texture = COGL_INVALID_HANDLE;